//
//  GetUserResult.swift
//  ShopIOS
//
//  Created by Apple on 2019/7/17.
//  Copyright © 2019 Apple. All rights reserved.
//

import Foundation
import SwiftyJSON
struct GetUserResult {
    var UserId: String?
    var IsPromoter: Bool = false
    var Success: String?
    var ErrorCode: String?
    var ErrorMsg: String?
    var UserKey: String?
    
    init(json: JSON) {
        UserId = json["UserId"].stringValue
        IsPromoter = json["IsPromoter"].boolValue
        Success = json["Success"].stringValue
        ErrorCode = json["ErrorCode"].stringValue
        ErrorMsg = json["ErrorMsg"].stringValue
        UserKey = json["UserKey"].stringValue
    }
}
